﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ServiceCore.Tool.JD_Pay
{
    public class refundnotify_Result
    {
        public string resultCode { get; set; }

        public string errCode { get; set; }

        public string errCodeDes { get; set; }
        public string merchantNo { get; set; }

        public string businessCode { get; set; }
        public string version { get; set; }
        /// <summary>
        /// 外部订单号
        /// </summary>
        public string outTradeNo { get; set; }
        /// <summary>
        /// 平台订单号
        /// </summary>
        public string tradeNo { get; set; }
        /// <summary>
        /// 商户退款订单号
        /// </summary>
        public string outRefundNo { get; set; }
        /// <summary>
        /// 平台退款单号
        /// </summary>
        public string tradeRefundNo { get; set; }

        /// <summary>
        /// 交易状态 CLOSE  ：已关闭   FINISH  ：交易成功    这两种状态下都会异步通知商户 
        /// </summary>
        public string payStatus { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public string productType { get; set; }
        /// <summary>
        /// 交易子类型 REFD（退款）
        /// </summary>
        public string subTradeType { get; set; }
        public string currency { get; set; }
        /// <summary>
        /// 交易金额
        /// </summary>
        public long amount { get; set; }

        public string piType { get; set; }
        public string payFinishTime { get; set; }
        /// <summary>
        /// 支付渠道交易金额
        /// </summary>
        public long piAmount { get; set; }
        /// <summary>
        /// 商户优惠金额
        /// </summary>
        public long merchantCouponAmount { get; set; }
        /// <summary>
        /// 平台营销金额
        /// </summary>
        public long couponAmount { get; set; }

        public string extMapStr { get; set; }
        /// <summary>
        /// 微信支付宝中的订单号
        /// </summary>
        public string transactionId { get; set; }
        /// <summary>
        /// 接入系统名称 接入系统名称，systemId
        /// </summary>
        public string appId { get; set; }
    }
}
